/*
 * Motor_Driver.h
 *
 * Created: 1/27/2013 7:52:20 PM
 *  Author: Parag
 */ 


#ifndef MOTOR_DRIVER_H_
#define MOTOR_DRIVER_H_


#include <avr/io.h>
#include <util/delay.h>
#include <avr/io.h>
#include <stdbool.h>
#include <stdint.h>

void MotorDriverInit();

/*
name: void toggleINV()
Description: toggling the inv pin
to switch the voltage on motor
*/
void toggleINV();

// i think the bags take around 18-20 seconds to fill
// so use with the software delay
void TurnMotorOn();

void TurnMotorOff();

#endif /* MOTOR_DRIVER_H_ */